import { Component, OnInit } from '@angular/core';
import { Observable } from "rxjs/Observable";
import { CanDeactivateInterface } from "../../service/guard/can-deactivate.Interface";
import {MapComponent} from "./main/map/map.component"
@Component({
  selector: 'app-monitor',
  templateUrl: './monitor.component.html',
  styleUrls: ['./monitor.component.css']
})
export class MonitorComponent implements OnInit,CanDeactivateInterface {

  constructor() { }

  ngOnInit() {
  }
  /**
     * 是否可以离开
     * 
     * 
     * @memberof DicComponent
     */
  canDeactivate(): boolean | Observable<boolean> | Promise<boolean> {
    return true;
  }

}



// WEBPACK FOOTER //
// ./src/app/module/monitor/monitor.component.ts